package com.tonghe.service;

import com.tonghe.domain.ResponseResult;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @Date:2022/3/14- 03- 14- 22:00
 * @author: tonghe
 **/
public interface UploadService {

    /**
     * 上传图像到OSS
     *
     * @param img 文件流
     * @return 结果URL
     */
    ResponseResult uploadImg(MultipartFile img) throws IOException;

}
